package fr.vvins.core.biz.group.dto;

import fr.vvins.core.biz.catalog.dto.VigneronDto;
import fr.vvins.core.biz.user.dto.UserDtoInfo;
import fr.vvins.core.common.dto.BeanDtoInfoImpl;
import fr.vvins.core.common.dto.annotation.DtoInfo;
import fr.vvins.core.group.entity.Group;
@DtoInfo(name="Group", entity=Group.class)
public class GroupDtoInfo extends BeanDtoInfoImpl {
	
	private static final long serialVersionUID = -1365054429243797102L;
	
	private String name;
	
	private UserDtoInfo creator;
	
	private VigneronDto vigneron;
	
	private boolean privateGroup;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public VigneronDto getVigneron() {
		return vigneron;
	}

	public void setVigneron(VigneronDto vigneron) {
		this.vigneron = vigneron;
	}

	public boolean isPrivateGroup() {
		return privateGroup;
	}

	public void setPrivateGroup(boolean privateGroup) {
		this.privateGroup = privateGroup;
	}

	public UserDtoInfo getCreator() {
		return creator;
	}

	public void setCreator(UserDtoInfo creator) {
		this.creator = creator;
	}


}
